package com.letu.core.excel.exception;

/**
 * @ClassName ExcelAnalyze
 * @Description excel解析异常
 * @Author yuwx
 * @Date 2021/9/4 15:25
 * @Version 1.0
 **/
public class ExcelAnalyzeException extends RuntimeException {
    private int rowIndex;
    private int columnIndex;
    private String message;
    public ExcelAnalyzeException(int columnIndex, String message) {
        super(message);
        this.columnIndex = columnIndex;
        this.message = message;
    }
    public ExcelAnalyzeException(int rowIndex, int columnIndex, String message) {
        super(message);
        this.rowIndex = rowIndex;
        this.columnIndex = columnIndex;
        this.message = message;
    }



    public String getMessage() {
        return this.message;
    }

    public int getRowIndex() {
        return rowIndex;
    }

    public int getColumnIndex() {
        return columnIndex;
    }
}